<template>
  <a-space >
    <a-button type="primary" @click="search">查询</a-button>
    <a-button type="primary" @click="goss">切换</a-button>
    <a-button >切换</a-button>
    <a-button >切换</a-button>
    <a-button type="primary">切换</a-button>
    <a-button type="primary">切换</a-button>
    <a-button >切换</a-button>
  </a-space>
</template>

<script>
import { useRouter } from 'vue-router'
export default {
  props: {
    search: {
      type: Function,
      default: () => {}
    }
  },
  setup(){

    const router = useRouter()

    function goss(){
      router.push('/feasibilityStudy/dataManagement')
    }

    return {goss}
  }
}
</script>

<style scoped lang="less">

</style>